package com.struts2.example.model;

public class Question {
	private String TAG="Question";
	private int questionId;
	private String questionText;

	public int getQuestionId()
	{
		System.out.print(TAG+"getQuestionId()"+"\n");
		return this.questionId;
	}
	
	public void setQuestionId(int questionId)
	{
		System.out.print(TAG+"setQuestionId"+"\n");
		this.questionId=questionId;
	}
	
	public String getQuestionText()
	{
		System.out.print(TAG+"getQuestionText()"+"\n");
		return this.questionText;
	}
	
	public void setQuestionText(String questionText)
	{
		System.out.print(TAG+"setQuestionText"+"\n");
		this.questionText=questionText;
	}
	
    public String toString()
    {
        return getQuestionText()+"\n" ;
    }
}
